package com.yuyou.fn.platform.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 系统资源
 *
 */
@TableName(value = "sys_resource")
public class SysResource implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<SysResource> createExample(){
		return new Example<SysResource>(SysResource.class);
	}

	/**  */
	@TableId(value = "resource_id")
	private Long resourceId;

	/** 名称 */
	@TableField(value = "resource_name")
	private String resourceName;

	/** 资源类型 1:菜单 2:操作 */
	@TableField(value = "resource_type")
	private Integer resourceType;

	/** 页面url */
	@TableField(value = "page_url")
	private String pageUrl;

	/** icon url */
	@TableField(value = "icon_url")
	private String iconUrl;

	/** 备注 */
	private String remark;

	/** 权限 */
	private String permission;

	/**  */
	@TableField(value = "parent_id")
	private Long parentId;

	/**  */
	@TableField(value = "order_no")
	private Integer orderNo;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getResourceId() {
		return this.resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public String getResourceName() {
		return this.resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public Integer getResourceType() {
		return this.resourceType;
	}

	public void setResourceType(Integer resourceType) {
		this.resourceType = resourceType;
	}

	public String getPageUrl() {
		return this.pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getIconUrl() {
		return this.iconUrl;
	}

	public void setIconUrl(String iconUrl) {
		this.iconUrl = iconUrl;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPermission() {
		return this.permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
